package cn.iocoder.yudao.module.scenic.controller.admin.checkin.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 实践点打卡新增/修改 Request VO")
@Data
public class CheckInSaveReqVO {

    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "9825")
    private Long id;

    @Schema(description = "小程序用户id", example = "8588")
    private Long memberId;

    @Schema(description = "实践点", requiredMode = Schema.RequiredMode.REQUIRED, example = "17712")
    @NotNull(message = "实践点不能为空")
    private Long spotId;

    @Schema(description = "实践点部门id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9835")
    @NotNull(message = "实践点部门id不能为空")
    private Long spotDeptId;

}